package com.gjy.design.decorator.s3;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-11-10 10:29:39
 */
@FunctionalInterface
public interface SmartFilter {

    String apply(String input);

    // 组合：先 this，再 after
    default SmartFilter then(SmartFilter after) {
        return s -> after.apply(this.apply(s));
    }

}
